IApi.WriteAxisMaxCurrent method
Writes the maximum current into an axis.
Namespace: IntervalZero.KINGSTAR.Base.ApiAssembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0
Syntax
KsError WriteAxisMaxCurrent(
int Index,
short Value
)
Function WriteAxisMaxCurrent(
Index As Integer,
Value As Short
) As KsError
Parameters
Index
Type: int
The index of an axis. Indexes are zero based. Aliases affect this parameter.
Value
Type: short
The value to write.
Return value
Type: KsError
A return code of a method.
Remarks
Used in the cyclic callback to update the maximum current of an axis.
NOTE: The maximum current is available only if EnableMaxCurrent is enabled.
Usable EtherCAT states
ecatOP
Examples
N/A
See also